package meconsea.life.buddy.accessor;

import java.util.List;

import meconsea.life.buddy.entity.BuddyEvent;
import meconsea.life.sys.accessor.BaseAccessor;
import meconsea.life.sys.accessor.IAccessor;

import com.google.inject.name.Named;
import com.wideplay.warp.persist.TransactionType;
import com.wideplay.warp.persist.Transactional;
import com.wideplay.warp.persist.dao.Finder;

public class BuddyEventAccessor extends BaseAccessor<BuddyEvent, String> implements
		IAccessor<BuddyEvent, String> {
	public BuddyEventAccessor(){
		super(BuddyEvent.class);
	}
	
	@Finder(namedQuery=BuddyEvent.BUDDY_EVENT_FIND_BYUSER)
	public List<BuddyEvent> getBEByUser(@Named("userName") String username){
		return null;
	}
	
	@Finder(namedQuery=BuddyEvent.BUDDY_EVENT_FIND_INUSER)
	public List<BuddyEvent> getBEByUsers(@Named("userNames") List<String> userNames){
		return null;
	}
}
